import React from 'react';
import lodash from 'lodash';
import { AutoComplete, Space } from 'antd';
const AutoCompleteBlock = (props) => {
  const { afterSix } = props
  console.log(props);
  // 返回结果
  if (afterSix) {
    return <Space style={{ width: '100%', display: 'flex', alignItems: 'center' }}>
      <AutoComplete {...props}></AutoComplete>
      {afterSix}
    </Space>
  }
  return <AutoComplete {...props}></AutoComplete>;
};

export default AutoCompleteBlock;
